home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 131 / XENIATGM131.iso / Goodies / I-WAR 2 Egde of Chaos - New SDK / IW2-EOC_Pog_Scripting_SDK.exe / include / iShipCreation.h < prev    next >
Text File  |  2002-01-14  |  3KB  |  79 lines

  1. //
  2. // (c) 1998-9 Particle Systems Ltd. All Rights Reserved
  3. //
  4. // iShipCreation.h
  5. //
  6. // Compiler-generated export header for package "iShipCreation"
  7. //
  8. // Revision control information:
  9. //
  10. // $Header: /iwar2/resource/scripts/include/iShipCreation.h 39    9/03/01 12:08p Martyn $
  11. //
  12.  
  13. // Dependencies ////////////////////////////////////////////////////////////////
  14.  
  15. uses iShip, Object, Debug, iAI, Math, List, iFormation, MapEnumerations, 
  16.     INIFile, String, iSim, iFaction, Global, iPilotSetup, iUtilities, Group,iCargo,
  17.     iCargoScript;
  18.  
  19. // Enumerated types ////////////////////////////////////////////////////////////
  20.  
  21. enum ePilotType 
  22.     PT_None, PT_Player, PT_AI 
  23. };
  24.  
  25. // Formation types for create_ships _in_formation
  26. enum eFormationType 
  27.     FT_Wedge, FT_Goose, FT_LineAbreast, FT_LineAhead, FT_Parade,
  28.     FT_SkirmishLine, FT_V, FT_Cross, FT_Loose, FT_Impi, FT_Outrider,
  29.     FT_LineAstern, FT_Box, FT_Claw, FT_Wall
  30. };
  31.  
  32. enum eShipType
  33. {
  34.     ST_FreightLight, ST_FreightHeavy, ST_FreightAll, ST_FreightSuperHeavy, 
  35.     ST_FreightCourier, ST_CombatFighter, ST_CombatLight, ST_CombatHeavy,
  36.     ST_CombatCaptial, ST_CombatAll, ST_Medical, ST_Interface, ST_PassengerLight, 
  37.     ST_PassengerHeavy, ST_PassengerAll, ST_MiningLight, ST_MiningHeavy, ST_MiningAll,
  38.     ST_TankerLight, ST_TankerHeavy, ST_TankerAll, ST_GeneralPurpose, ST_Flitter, ST_Recovery,
  39.     ST_DemoShips, ST_Taxi
  40.  
  41. };
  42.  
  43. // Functions ///////////////////////////////////////////////////////////////////
  44.  
  45. prototype string iShipCreation.GetShip( IeAllegiance faction, eShipType ship_type );
  46.  
  47. prototype bool iShipCreation.PutShipsInFormation( hgroup ship_list, eFormationType formation_type, float spacing_offset, bool first_time );
  48.  
  49. prototype hgroup iShipCreation.GetTraffic( eShipType traffic_type, IeAllegiance allegiance, int number_req );
  50.  
  51. prototype iShipCreation.CreateHaulageCargo( hship cargo_vessel, IeHabitatType location_type );
  52.  
  53. prototype hgroup iShipCreation.CreateCharacterGroup( eShipType type, string pilot_type, int number, hfaction faction, string name_pointer );
  54.  
  55. prototype iShipCreation.CreateTradeCargo( hship trade_vessel, string trade_type );
  56.  
  57. prototype iShipCreation.CreateSupplyCargo( hship supply_vessel, int supply_type );
  58.  
  59. prototype string iShipCreation.ShipName( string name_type, int name_number );
  60.  
  61. prototype hgroup iShipCreation.CreateCharacterShips( eShipType carrier_type, string carrier_ship_name_pointer, string pilot_name_pointer, string carrier_pilot_type, int carrier_number, eShipType escort_type, string escort_ship_name_pointer, string escort_pilot_type, int escort_number, hfaction faction );
  62.  
  63. prototype hgroup iShipCreation.CreateCargoPods( eCargoType cargo_type, int number );
  64.  
  65. prototype list iShipCreation.ReturnHaulageCargo( hship cargo_vessel, IeHabitatType location_type );
  66.  
  67. prototype list iShipCreation.ReturnTradeCargo( hship trade_vessel, string trade_type );
  68.  
  69. prototype list iShipCreation.ReturnSupplyCargo( hship supply_vessel, int supply_type );
  70.  
  71. prototype hgroup iShipCreation.CreateMegapodCargo ( hship pod, int number_pods, int cargo_type );
  72.  
  73. prototype iShipCreation.StackCargo ( hship pod, hobject cargo );
  74.  
  75. // EOF /////////////////////////////////////////////////////////////////////////
  76.  
  77.